package org.jeecg.modules.operations.assistant.work.service.impl;

import org.jeecg.modules.operations.assistant.vehicle.mapper.VehicleInfoMapper;
import org.jeecg.modules.operations.assistant.work.entity.CustomerInfo;
import org.jeecg.modules.operations.assistant.work.mapper.CustomerInfoMapper;
import org.jeecg.modules.operations.assistant.work.service.ICustomerInfoService;
import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.Resource;

/**
 * @Description: 客户信息
 * @Author: jeecg-boot
 * @Date:   2024-06-06
 * @Version: V1.0
 */
@Service
public class CustomerInfoServiceImpl extends ServiceImpl<CustomerInfoMapper, CustomerInfo> implements ICustomerInfoService {

    @Resource
    private CustomerInfoMapper customerInfoMapper;
    @Override
//    @Transactional(rollbackFor = Exception.class)
    public Integer findMaxTripartiteSystemId() {
        return customerInfoMapper.selectMaxTripartiteSystemId();
    }
}
